//
//  ScanQRCodeViewController.m
//  BusinessApp
//
//  Created by CccDaxIN on 2016/10/26.
//  Copyright © 2016年 macox. All rights reserved.
//

#import "ScanQRCodeViewController.h"

@interface ScanQRCodeViewController ()

@end
@implementation ScanQRCodeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"扫描二维码";
    self.view.backgroundColor = [UIColor whiteColor];
    /*
     *返回
     */
    UIImage *ScanQRCodeBackImage = [UIImage imageNamed:@"左箭头"];
    ScanQRCodeBackImage = [ScanQRCodeBackImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:ScanQRCodeBackImage style:UIBarButtonItemStylePlain target:self action:@selector(ScanQRCodeImageBackAction)];

    // Do any additional setup after loading the view.
}
- (void)ScanQRCodeImageBackAction{
    [self.navigationController popViewControllerAnimated:YES];
}
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    self.tabBarController.tabBar.hidden = YES;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
